package com.kob.backend.service.auction;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kob.backend.dto.AuctionDto;
import com.kob.backend.pojo.Auction;
import com.kob.backend.pojo.TaskObj;

import java.util.List;
import java.util.Map;

/**
 * <pre>{@code
 *
 * }</pre>
 *
 * @author Summerday
 * @date 2023/3/17
 */
public interface AuctionService  extends IService<Auction> {

    Auction getAuctionById(Integer id);

    Map<String, Object> startIDA(Integer id);

    Auction register(AuctionDto auctionDto);

    Map<Integer, List<TaskObj>> Auction2TaskMapping(Auction auction);
}
